import { get, post } from '@/utils/request'

export const list = (params) => get('api/questions/list', params)

export const del = (params) => get('/api/questions/delete', params)
export const delAll = (params) => post('/api/questions/deleteall', params)

export const add = (data) => post('/api/questions/add', data)